<!DOCTYPE html>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<html>
<head>
<title>MayFlower - <decorator:title default="Welcome to MayFlower!" /></title>
<%@ include file="/html/inc/init.jsp" %>
<decorator:head />
</head>
<body><a name="top"></a>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td><%@ include file="/html/inc/top.jsp" %></td>
  </tr> 
  <tr> 
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> 
        <tr> 
          <td width="150">
          	<img src="${contextPath}/images/mayFlower_small.png" alt="MayFlower:五月花!" title="MayFlower:五月花!" 
          	onClick="window.location='${contextPath}/blog'")>
          </td>
          <td align="left" valign="middle"><table><tr>
            <td align="left"><form action="${contextPath}/search/bc" method="get">
              <table>
                <tr>
                  <td><input name="q" type="search" style="height:25px;"
                  		placeholder='请输入要查询的博文、代码...' title="请输入要查询的博文、代码..."  size="70" maxlength="2048" value="${q}" /></td>
                  <td><input type="submit" style="height:30px;" id='Sbtn' value="   找 文 章   "></td>
                 </tr>
              </table>
            </form></td><td align="left"><form action="${contextPath}/search/f" method="get">
              <table align="left">
                <tr>
                  <td><input name="q" type="search" style="height:25px;" 
                  		placeholder='要查询的文件(我们只返回1000条记录哦)' title="要查询的文件(我们只返回1000条记录哦)"  size="40" maxlength="2048" value="${q}" /></td>
                  <td><input type="submit" style="height:30px;" id="sBtn2" value="  找 文 件  "></td>
                  <td valign="middle" nowrap><c:if test='${user.role == "admin"}'><br>
                  </c:if></td>
                </tr>
              </table>
          </form></td></tr></table></td> 
        </tr> 
        <tr> 
          <td valign="top" class="border_right_green"><table width="100%"  border="0" cellpadding="0" cellspacing="0">
              <tr>
				<td width="26%" align="center">&nbsp;</td>
				<td width="74%" height="31" align="left"><a href="${contextPath}/blog">博文欣赏</a></td>
              </tr>
              <tr >
              	  <td align="center" class="border_bottom_green">&nbsp;</td>	
                  <td height="31" colspan="2" align="left" class="border_bottom_green"><a href="${contextPath}/code">代码片段</a></td>
              </tr>
              <tr>
                <td colspan="3" align="center">&nbsp;</td>
              </tr>
            </table></td> 
          <td valign="top" style='padding-left:5px;'><decorator:body /></td> 
        </tr> 
    </table></td> 
  </tr> 
  <tr> 
    <td align="center"><%@ include file="/html/inc/bottom.jsp" %></td> 
  </tr> 
</table>
<script language="javascript1.2">
	function onDel(t_id) {
		var flag=window.confirm("删除?")
		if (flag == false) {
		  return;
		} else {
			var t_form = document.getElementById(t_id);
			t_form.submit();
		}
	}
</script>
</body>
</html>
